package com.cz.zslu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客服
 * </p>
 *
 * @author 森森
 * @since 2018-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("stote_airlines")
public class StoteAirlines extends SuperEntity<StoteAirlines> {

    private static final long serialVersionUID = 1L;


    /**
     * 是否删除 0：有效，1 删除
     */
    @JSONField(serialize = false)
    @TableLogic
    @JsonIgnore
    private Integer state = 0;
    /**
     * 客服姓名
     */
    @TableField("airlines_name")
    private String airlinesName;
    /**
     * 客服QQ
     */
    @ApiModelProperty("QQ/电话")
    @TableField("airlines_qq")
    private String airlinesQq;
    /**
     * 店铺id
     */
    @TableField("store_id")
    private Long storeId;
    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 类型（0：qq，1：电话）
     */
    @ApiModelProperty("类型（0:QQ  1:MSM 2:Skype 3:电话）")
    private Integer type;


}
